package com.hxtec.polaris.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.persistence.*;
import lombok.Data;

/**
 * @author Caps
 * @date 2019/11/29
 */
@ApiModel(value = "com.hxtec.polaris.entity.ShopProductVariantAttrValue")
@Data
@Table(name = "shop_product_variant_attr_value")
public class ShopProductVariantAttrValue implements Serializable {
    /**
     * 编号
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 属性id
     */
    @Column(name = "attr_id")
    @ApiModelProperty(value = "属性id")
    private Integer attrId;

    /**
     * 属性值id
     */
    @Column(name = "value_id")
    @ApiModelProperty(value = "属性值id")
    private Integer valueId;

    /**
     * skuid
     */
    @Column(name = "sku_id")
    @ApiModelProperty(value = "skuid")
    private Integer skuId;

    /**
     * 销售属性名称
     */
    @Column(name = "sale_attr_name")
    @ApiModelProperty(value = "销售属性名称")
    private String saleAttrName;

    /**
     * 销售属性值名称
     */
    @Column(name = "sale_attr_value_name")
    @ApiModelProperty(value = "销售属性值名称")
    private String saleAttrValueName;

    private static final long serialVersionUID = 1L;
}